package com.mengfly.ai.testcroseplatformproject.codeviewer.platform

import com.mengfly.ai.testcroseplatformproject.codeviewer.util.TextLines
import kotlinx.coroutines.CoroutineScope

interface File {
    val name: String
    val isDirectory: Boolean
    val children: List<File>
    val hasChildren: Boolean

    fun readLines(scope: CoroutineScope): TextLines
}
expect val HomeFolder: File